cmake_minimum_required(VERSION 3.16)

project(OpenImWapper LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_library(OpenImWapper SHARED
  OpenImWapper_global.h
  openimwapper.cpp
  openimwapper.h
)

MESSAGE(STATUS ${PROJECT_SOURCE_DIR}/3rdpart/include)
target_include_directories(OpenImWapper PRIVATE ${PROJECT_SOURCE_DIR}/3rdpart/include)
target_link_directories(OpenImWapper PRIVATE ${PROJECT_SOURCE_DIR}/3rdpart/lib)
# target_link_libraries(OpenImWapper openimsdk)
target_compile_definitions(OpenImWapper PRIVATE OPENIMWAPPER_LIBRARY)
